#!/usr/bin/python2.7
#coding=utf8

def transfer(cols_alpha):
    num = 0
    cols_alpha = cols_alpha.upper()
    for i in xrange(len(cols_alpha)):
        num = num*26 + (ord(cols_alpha[i]) - 64)

    return num-1

def add_a_month(date):
    year = int(date[0:4])
    month = int(date[4:len(date)])
    if month +1 >12:
        year = year +1
        month = 1
    else:
        month = month + 1
    if len(str(month)) <2:
        month = "0"+str(month)

    return str(year)+str(month)

if __name__ == "__main__":
    print add_a_month('201112')